Practical Python Backend Programming by Tim Peters
Author:Tim Peters
Language: eng
Format: mobi, pdf, epub, azw3
Publisher: GitforGits
Published: 2024-05-15T06:32:31.933573+00:00
CHAPTER 5: WORKING WITH DATABASES
Introduction
Building reliable and extensible web apps requires a thorough understanding of database management and optimization strategies, both of which are covered extensively in this chapter. This chapter delves into advanced techniques for interacting with databases, covering a wide range of technologies and methodologies from classic relational databases to contemporary NoSQL systems.
First, we'll take a look at MySQL and PostgreSQL, two of the relational databases that are widely used. All the details regarding the characteristics, advantages, and recommended applications of each database management system are laid out here. Learn more about the pros and cons of each option and how to pick the right one for your application from this chapter. Then, we'll take a look at NoSQL databases, specifically MongoDB, which is well-known for its scalability, high availability, and excellent performance. You will learn the ropes of working with MongoDB, from its document-oriented structure to its substantial differences from relational databases in data modeling and retrieval to its advantages and disadvantages.
The fundamentals of database design are subsequently covered in the chapter. Data integrity, improved performance, and easier database system maintenance are all outcomes of well-designed databases. Database schema design that is both efficient and dependable requires knowledge of normalization, relationships, and key constraints. We will then explore more complex querying methods and CRUD (Create, Read, Update, Delete) operations. In this part, you will learn to work with more complicated data structures, retrieve data in more complex ways, write better queries, and manipulate data more effectively across various database systems.
After that, we'll learn about version control and database migrations. In order to keep development, testing, and production environments consistent, you will learn how to manage and track changes in the database schema over time. Object-Relational Mapping (ORM) systems in Python and database integration is another important topic. This section explains how ORMs simplify database interactions by making it possible to work with database entities as Python objects. This helps to simplify developer productivity by removing complex SQL queries.
The chapter wraps up by going over some caching strategies that can help optimize databases. By lowering the database's workload and data retrieval latency, caching works wonders for database-driven applications' performance. In this chapter, you will learn all you need to know to create high-performing web apps, including how to manage databases, manipulate data effectively, and optimize database interactions.
Download
Practical Python Backend Programming by Tim Peters.pdf
Practical Python Backend Programming by Tim Peters.epub
Practical Python Backend Programming by Tim Peters.azw3
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
What's Done in Darkness by Kayla Perrin(26717)
The Ultimate Python Exercise Book: 700 Practical Exercises for Beginners with Quiz Questions by Copy(19304)
The Fifty Shades Trilogy & Grey by E L James(19193)
Shot Through the Heart: DI Grace Fisher 2 by Isabelle Grey(19180)
De Souza H. Master the Age of Artificial Intelligences. The Basic Guide...2024 by Unknown(19117)
D:\Jan\FTP\HOL\Work\Alien Breed - Tower Assault CD32 Alien Breed II - The Horror Continues Manual 1.jpg by PDFCreator(19097)
Shot Through the Heart by Mercy Celeste(19041)
Wolf & Parchment: New Theory Spice & Wolf, Vol. 10 by Isuna Hasekura and Jyuu Ayakura(17222)
Python GUI Applications using PyQt5 : The hands-on guide to build apps with Python by Verdugo Leire(17140)
Peren F. Statistics for Business and Economics...Essential Formulas 3ed 2025 by Unknown(17000)
Wolf & Parchment: New Theory Spice & Wolf, Vol. 03 by Isuna Hasekura and Jyuu Ayakura & Jyuu Ayakura(16924)
Wolf & Parchment: New Theory Spice & Wolf, Vol. 01 by Isuna Hasekura and Jyuu Ayakura & Jyuu Ayakura(16552)
The Subtle Art of Not Giving a F*ck by Mark Manson(14499)
The 3rd Cycle of the Betrayed Series Collection: Extremely Controversial Historical Thrillers (Betrayed Series Boxed set) by McCray Carolyn(14247)
Stepbrother Stories 2 - 21 Taboo Story Collection (Brother Sister Stepbrother Stepsister Taboo Pseudo Incest Family Virgin Creampie Pregnant Forced Pregnancy Breeding) by Roxi Harding(13880)
Scorched Earth by Nick Kyme(12881)
Drei Generationen auf dem Jakobsweg by Stein Pia(11074)
Suna by Ziefle Pia(10997)
Scythe by Neal Shusterman(10466)
